<template>
	<view class="manage">
		<view class="left">
			<view class="icon">
				<image src="/static/icon/设置.png" mode=""></image>
			</view>
			<view class="text">
				{{title}}
			</view>
		</view>
		<view class="right">
			<view class="bind-wx" v-if="bindWx">
				一键改绑微信
			</view>
			<view class="right-icon" v-else>
				<image src="/static/icon/right (2).png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"manage",
		data() {
			return {
				
			};
		},
		props: {
			bindWx: {
				type: Boolean,
				default: false
			},
			title: {
				type: String,
				default: ""
			}
		}
	}
</script>

<style lang="scss" scoped>
	.manage {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 140rpx;
		.left {
			display: flex;
			align-items: center;
			.icon {
				width: 50rpx;
				height: 50rpx;
				margin-right: 36rpx;
				image {
					width: 100%;
					height: 100%;
				}
			}
			.text {
				font-size: 36rpx;
			}
		}
		.right {
			.bind-wx {
				width: 204rpx;
				height: 68rpx;
				border: 1px solid;
				text-align: center;
				line-height: 72rpx;
				border-radius: 38rpx;
				font-size: 28rpx;
			}
			.right-icon {
				width: 24rpx;
				height: 24rpx;
				image {
					width: 100%;
					height: 100%;
				}
			}
		}
	}
</style>